package edu.qhst.user.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.qhst.user.dao.entity.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Entity 用户mapper
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("SELECT userId from user_team where teamId = #{TeamId}")
    List<Integer> selectUserIdByTeam(int TeamId);
}




